]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Handle reversed transition with 0 duration
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 22 Feb 2020 15:35:32 +0000 (16:35 +0100)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Tue, 25 Feb 2020 18:08:47 +0000 (18:08 +0000)
commit2bb8e1be9b5bda7368321d3625cb954c7047bc09
treec9003ccbd2074a7540e418ee482a8fb7871c4893
parent967a6ae44d9b1d7a1dc00024fc6539f23dbb285b
environment: Handle reversed transition with 0 duration

If a transition is reversed, the final property values will be the
same as before the transition. However this currently only works
correctly when we actually use a transition; to fix this with a
duration of 0, simply skip the set() call when the transition is
reversed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1042
js/ui/environment.js